Autodesk Developer Network 2011
Autodesk
Storing Data on an Element
1.Create and name a new schema
2.Set the read/write access for the schema
3.Define one or more fields of data for the schema
4.Create an entity based on the schema
5.Assign values to the fields for the entity
6.Associate the entity with a Revit element
§Classes involved
§Schema class represents a schema
§Instances are created by SchemaBuilder class
§Fields created by FieldBuilder class
§Entity class holds data for a Schema instance
§Entity is attached to an arbitrary Revit Element
§Demo and further reading
§ExtensibleStorage sample application
§ExtensibleStorageManager SDK sample
§Developer Guide Chapter 22.5 Extensible Storage